package com.jrzh.mvc.model.sys;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.jrzh.framework.annotation.UniqueValue;
import com.jrzh.framework.base.model.GeneralModel;

@Entity
@Table(name="sys_config")
public class ConfigModel extends GeneralModel{

	@Column(name="_name")
	private String name;
	
	@Column(name="_key")
	@UniqueValue( message = "config.key.validate.unique")
	private String key;
	
	@Column(name="_value")
	private String value;
	
	@Column(name="_group")
	private String group;
	
	@Column(name = "_data_type")
	private String dataType;
	
	@Column(name = "_remark")
	private String remark;

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGroup() {
		return group;
	}

	public void setGroup(String group) {
		this.group = group;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}
}
